namespace BYTEORDER_NTOH_RECV {
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

int test_01_recv_A(int s) {
	short u;
	recv(s, &u, sizeof u, 0);
	return u - 12;
}


#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

int test_01_recv_B(int s) {
	short u;
	short v;
	recv(s, &u, sizeof u, 0);
	v = ntohs(u);
	return v - 12;
}



}}